package com.woniu.hospital.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出院费用总计对象 discharge
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Discharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long dischargeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dischargeName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date dischargeTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal dischargePrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long hosptilpriceTypeid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    public void setDischargeId(Long dischargeId) 
    {
        this.dischargeId = dischargeId;
    }

    public Long getDischargeId() 
    {
        return dischargeId;
    }
    public void setDischargeName(String dischargeName) 
    {
        this.dischargeName = dischargeName;
    }

    public String getDischargeName() 
    {
        return dischargeName;
    }
    public void setDischargeTime(Date dischargeTime) 
    {
        this.dischargeTime = dischargeTime;
    }

    public Date getDischargeTime() 
    {
        return dischargeTime;
    }
    public void setDischargePrice(BigDecimal dischargePrice) 
    {
        this.dischargePrice = dischargePrice;
    }

    public BigDecimal getDischargePrice() 
    {
        return dischargePrice;
    }
    public void setHosptilpriceTypeid(Long hosptilpriceTypeid) 
    {
        this.hosptilpriceTypeid = hosptilpriceTypeid;
    }

    public Long getHosptilpriceTypeid() 
    {
        return hosptilpriceTypeid;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dischargeId", getDischargeId())
            .append("dischargeName", getDischargeName())
            .append("dischargeTime", getDischargeTime())
            .append("dischargePrice", getDischargePrice())
            .append("hosptilpriceTypeid", getHosptilpriceTypeid())
            .append("patientId", getPatientId())
            .toString();
    }
}
